package com.ytjj.qmyx.supplychain.common.model;

import java.io.Serializable;
import java.util.Date;

public class AdminErrorLog implements Serializable {
    private Integer id;

    /**
     * 操作用户id
     *
     * @mbg.generated
     */
    private Integer userId;

    /**
     * 操作用户名称
     *
     * @mbg.generated
     */
    private String userName;

    /**
     * 操作员用户ip
     *
     * @mbg.generated
     */
    private String userIp;

    /**
     * 操作URI
     *
     * @mbg.generated
     */
    private String operUri;

    /**
     * 操作版本号
     *
     * @mbg.generated
     */
    private String operVersion;

    /**
     * 发生异常时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 请求参数
     *
     * @mbg.generated
     */
    private String excRequestParam;

    /**
     * 请求方法名
     *
     * @mbg.generated
     */
    private String operMethod;

    /**
     * 异常名称
     *
     * @mbg.generated
     */
    private String excName;

    /**
     * 异常信息
     *
     * @mbg.generated
     */
    private String excMessage;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserIp() {
        return userIp;
    }

    public void setUserIp(String userIp) {
        this.userIp = userIp;
    }

    public String getOperUri() {
        return operUri;
    }

    public void setOperUri(String operUri) {
        this.operUri = operUri;
    }

    public String getOperVersion() {
        return operVersion;
    }

    public void setOperVersion(String operVersion) {
        this.operVersion = operVersion;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getExcRequestParam() {
        return excRequestParam;
    }

    public void setExcRequestParam(String excRequestParam) {
        this.excRequestParam = excRequestParam;
    }

    public String getOperMethod() {
        return operMethod;
    }

    public void setOperMethod(String operMethod) {
        this.operMethod = operMethod;
    }

    public String getExcName() {
        return excName;
    }

    public void setExcName(String excName) {
        this.excName = excName;
    }

    public String getExcMessage() {
        return excMessage;
    }

    public void setExcMessage(String excMessage) {
        this.excMessage = excMessage;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", userId=").append(userId);
        sb.append(", userName=").append(userName);
        sb.append(", userIp=").append(userIp);
        sb.append(", operUri=").append(operUri);
        sb.append(", operVersion=").append(operVersion);
        sb.append(", createTime=").append(createTime);
        sb.append(", excRequestParam=").append(excRequestParam);
        sb.append(", operMethod=").append(operMethod);
        sb.append(", excName=").append(excName);
        sb.append(", excMessage=").append(excMessage);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}